<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>添加类型</h1>
<form action="" method="post">
    {% csrf_token %}
    类型
    <input type="text" name="tname">
    <br>
    <input type="submit" value="添加">
</form>
</body>
</html>